package com.bjsxt.service;

import com.bjsxt.domain.Registration;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bjsxt.dto.RegistrationDto;
import com.bjsxt.vo.DataGridView;

public interface RegistrationService{


    /**
     * 添加挂号信息
     * @param registrationDto
     */
    void addRegistration(RegistrationDto registrationDto);

    /**
     * 根据挂号单id查询挂号单的信息
     * @param regId
     * @return
     */
    Registration queryRegistrationByRegId(String regId);

    /**
     * 修改挂号单的状态为待就诊
     * @param registration
     * @return
     */
    int updateRegistrationById(Registration registration);

    /**
     * 分页查询挂号信息
     * @param registrationDto
     * @return
     */
    DataGridView queryRegistrationForPage(RegistrationDto registrationDto);
}
